<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
	<%@ include file="/common/taglibs.jsp"%>
	<title>资源管理</title>
	<%@ include file="/common/meta.jsp"%>
	<link href="${ctx}/assets/css/bootstrap-tree.css" rel="stylesheet" type="text/css"/>
	<link href="${ctx}/assets/plugins/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
	<link href="${ctx}/assets/css/jsTree/style.min.css" rel="stylesheet" type="text/css" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body>

	<!-- begin #page-loader -->
	<div id="page-loader" class="fade in"><span class="spinner"></span></div>
	<!-- end #page-loader -->
	
    <div id="page-container"  class="fade page-sidebar-fixed page-header-fixed">
	
		<%@ include file="/common/header.jsp"%>
		<%@ include file="/common/slider.jsp"%>
		<div id="content" class="content">
			<!-- begin breadcrumb -->
			<ol class="breadcrumb pull-right">
				<li><a href="javascript:;"><fmt:message key="sys.healthcervix"/></a></li>
				<li><a href="javascript:;">权限管理</a></li>
				<li class="active">角色资源管理</li>
			</ol>
			<!-- end breadcrumb -->
			
			<h1 class="page-header">
				角色资源管理  <!-- <small><fmt:message key="sys.healthcervix"/></small> -->
			</h1>
			<div class="row">
				<div class="col-md-12">
					<div class="panel panel-inverse">
						
						<div class="panel-body">
							<div class="panel panel-primary" style="margin-left:25%;width:50%">
								<div class="panel-heading">
									<h4 class="panel-title">资源管理</h4>				
								</div>
								<div class="form-group" style="background-color: #fafafa">
									<input type="hidden" id="roleId" name="roleId" value="${roleId}"/>
									<div id="tree_2" class="tree-demo">
									</div>
								</div>
								<div class="panel-footer">
									<div class="ui-sortable" style="margin-left:33.333%;width:66.666%">
										<a id="addBtn" name="addBtn" href="javascript:;" class="btn btn-primary">保存</a>
										<button class="btn btn-default" name="cancelBtn" id="cancelBtn">取消</button>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<!-- end col-12 -->
			</div>
		</div>
		<!-- END PAGE -->    
	</div>
	<!-- END CONTAINER -->
	<%@ include file="/common/footer.jsp" %>
	<script src="${ctx}/assets/js/bootstrap-tree.js"></script>
	<script src="${ctx}/assets/js/jstree/dist/jstree.min.js"></script>
	<script src="${ctx}/assets/js/ui-tree.js"></script>
	<script type="text/javascript" src="${ctx}/js/role/roleResource.js?v=${ver}"></script> 
	<script type="text/javascript">
		jQuery(document).ready(function() {       
			RoleResourceManaged.init();
		});
	</script>
</body>
<!-- END BODY -->
</html>